﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="OpenCommunityRegister.ascx.cs"
    Inherits="Micronet.OpenWeb.OpenWeb.Admin.Views.Shared.Sub.OpenCommunityRegister" %>
<style type="text/css">
    tr
    {
        padding: 10px 0;
        
        }
    .style1
    {
        height: 44px;
    }
</style>
<table align="center">
    <tr>
        <td class="style1">
        </td>
        <td class="style1">
        </td>
    </tr>
    <tr>
        <td>
            <owc:OwR runat="server" OwText="Name" />
        </td>
        <td>
            <owc:OwTextBox ID="NameTxt" runat="server" SkinID="OwTextBox" />
        </td>
    </tr>
    <tr>
        <td>
            <owc:OwR runat="server" OwText="TradeName" />
        </td>
        <td>
            <owc:OwTextBox ID="TradeNameTxt" runat="server" SkinID="OwTextBox" />
        </td>
    </tr>
    <tr>
        <td>
            <owc:OwR runat="server" OwText="DateOfEstablishment" />
        </td>
        <td>
            <owc:OwDatePicker ID="DateOfEstablishmentDtpk" runat="server" OwDefaultValue="<%$ Ow:DateTime.Now %>"
                SkinID="">
            </owc:OwDatePicker>
        </td>
    </tr>
    <tr>
        <td>
            <owc:OwR runat="server" OwText="CommunityType" />
        </td>
        <td>
            <owc:OwComboBox ID="OwOpenCommunityTypeCbb" runat="server" SkinID="OwComboBox" OnInit="OwOpenCommunityTypeCbb_Init"
                SelectedValue='<%# Bind("CommunityTypeID") %>' AppendDataBoundItems="true" />
        </td>
    </tr>
    <tr>
        <td>
            <owc:OwR runat="server" OwText="Activities" />
        </td>
        <td>
           <owc:OwComboBox runat="server" SkinID="OwComboBox" ID="ActivitiesCbb" DataTextField="Name" DataValueField="CommunityFieldOfActivityID" />   

        </td>
    </tr>
    <tr>
        <td>
            <owc:OwR runat="server" OwText="Description" />
        </td>
        <td>
            <owc:OwTextBoxGrow ID="DescriptionGrow" runat="server" Width="400" SkinID="OwTextBoxFormFieldContent"
                Height="120" OwMaxHeight="200" OwMaxWidth="400" TextMode="MultiLine" />
    </tr>
    <tr>
        <td>
            <owc:OwCheckBox runat="server" Text="dfgdf" ID="IAcceptCb" OnCheckedChanged="IAcceptCb_CheckedChanged" />
        </td>
        <td>
            <owc:OwButton ID="RegisterBt" runat="server" Text="Đăng  ký" OnClick="RegisterBt_Click">
            </owc:OwButton>
               <owc:OwButton ID="ResetBt" runat="server" Text="Xóa trắng" 
                onclick="ResetBt_Click" >
                </owc:OwButton>
        </td>
    </tr>
</table>

